package org.dromara.system.domain.bo.ld;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author 王星
 * @date 2024/11/27 下午3:53
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class LDMercUpdateReqDTO {

    //品牌编号
    private String brandNo;
    //代理商编号
    private String agentNoLevelOne;
    //终端sn号
    private String posNo;
    //活动附加手续费
    private String actAddCharge;
    //费率列表
    private List<Rate> rateList;
    //钱包费率列表
    private String qbRateList;

    @Data
    @Builder
    @NoArgsConstructor
    @AllArgsConstructor
    public static class Rate {

        private Integer rateType;

        private Integer settleCycle;

        private BigDecimal debitRate;

        private BigDecimal creditRate;

        private BigDecimal alipayRate;

        private BigDecimal wechatRate;

        private BigDecimal creditGFRate;

        private BigDecimal unionpayQRRate;
    }

    @Data
    @Builder
    @NoArgsConstructor
    @AllArgsConstructor
    public static class QbRate {

        private Integer lvlNo;
        private BigDecimal ldqbDebitRate;
        private BigDecimal ldqbCreditRate;


    }

}
